package com.xulinhao.staservice;/**
 * @author xulinhao
 * @create 2021-09-19 21:05
 */

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author xlh
 * @packagename: com.xulinhao.staservice
 * @classname: StaApplication
 * @Description:
 * @Date 2021/9/19
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.xulinhao"})
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.xulinhao.staservice.mapper")
@EnableScheduling
public class StaApplication {
    public static void main(String[] args) {
        SpringApplication.run(StaApplication.class, args);
    }
}
